﻿using Coldairarrow.Entity.MEGA;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.MEGA
{
    public interface IMEGA_MaterialBusiness
    {
        Task<PageResult<MEGA_Material>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task<MEGA_Material> GetTheDataAsync(string id);
        Task AddDataAsync(MEGA_Material data);
        Task UpdateDataAsync(MEGA_Material data);
        Task DeleteDataAsync(List<string> ids);
        Task<List<MEGA_LeafBlade>> GetLeafBladeData(string id);
    }
}